function transCamelString(str) {
    return str.replace(/\_(\w)/g, function (all, letter, letter2) {
        return letter.toUpperCase()
    })
}
console.log(transCamelString('abc_bcd_cde'))
